package com.mobi.Survey.Exceptions;

public class EmptyFieldException extends RuntimeException
{

	private int dataIndex;

	public int getDataIndex()
	{
		return dataIndex;
	}

	public void setDataIndex(int dataIndex)
	{
		this.dataIndex = dataIndex;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public EmptyFieldException(String message)
	{
		super(message);
	}

	public EmptyFieldException(String message, int index)
	{
		super(message);
		this.dataIndex = index;
	}

}
